#pragma once
#include <QDialog>
#include <string>
#include <memory>
#include <QPushButton>
#include <QLineEdit>

class OBSBasic;

class DaChenLoginWidget : public QDialog {
	Q_OBJECT

public:

	DaChenLoginWidget(QWidget *parent);
	virtual ~DaChenLoginWidget();

	std::string get_live_code();

Q_SIGNALS:

	public Q_SLOTS :
		void on_loginButton_clicked();

private:
	OBSBasic* main;
	QPushButton* loginButton;
	QLineEdit *liveCodeEdit;
	std::string liveCode;
};